package com.example.demo.Service.Impl;

import com.example.demo.Dao.OrderDao;
import com.example.demo.Entity.OrderEntity;
import com.example.demo.Service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    OrderDao orderDao;
    public List<OrderEntity> get(){
        return orderDao.get();
    }
}
